package com.yuyou.train.lesson.vo.req;

import io.swagger.annotations.ApiModelProperty;

import java.util.List;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * @author 
 */
public class ReqClassAdd {

	@ApiModelProperty(value = "课程名字", required = true)
	@NotBlank (message="课程名字(name)不能为空")
	@Length(max=40,message="课程名字(name)长度过长") 
    private String name;
    
	@ApiModelProperty(value = "导师列表ID，多个用逗号分隔", required = true)
	@NotEmpty(message="导师列表ID(userIds)不能为空")
    private List<String> userIds;
    
	@ApiModelProperty(value = "dataArea", required = true)
	@NotEmpty(message="地区不能为空")
    private String dataArea;
    
	@ApiModelProperty(value = "课程简介", required = true)
	@NotBlank (message="课程简介(introduce)不能为空")
	@Length(max=2000,message="课程简介(introduce)长度过长") 
    private String introduce;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<String> getUserIds() {
		return userIds;
	}

	public void setUserIds(List<String> userIds) {
		this.userIds = userIds;
	}

	public String getIntroduce() {
		return introduce;
	}

	public void setIntroduce(String introduce) {
		this.introduce = introduce;
	}

	public String getDataArea() {
		return dataArea;
	}

	public void setDataArea(String dataArea) {
		this.dataArea = dataArea;
	}




    
    
    
}